package sshstudy.host.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Scope("prototype")
@Component
public class ABCService {
	
	private HostService hostService;

	@Autowired
	public ABCService(HostService hostService) {
		this.hostService = hostService;
	}
	
	public void test() {
		System.out.println(this.hostService.list());
	}
}
